package com.zx.znav.service;

import com.zx.znav.bean.Tag;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author lenovo
* @description 针对表【t_tag】的数据库操作Service
* @createDate 2023-07-21 07:42:41
*/
public interface TagService extends IService<Tag> {
    //列出所有标签
    List<Tag> listTags();
    //根据名称搜索
    List<Tag> search(String name);
    //根据link_cnt列出top
    List<Tag> listTopTag(int size);
}
